using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(menuName = "Custom/Level Data")]
public class LevelData:ScriptableObject {
	public WangTileGenerator generator;
	public int[] mobCounts = new int[3];
	public int[] chestCounts = new int[4];
	public float statGrowth = 1f;
	public Vector2Int size = new Vector2Int(5,5);
	public LevelData nextLevel;
	public int lootLevel;
	public WangTileGenerator.RoomData[] rooms;
	public void Generate(GenerationParameters param) {
		param.level=this;
		Game.currentLevel=this;
		generator.Generate(param);
	}

}
